<?xml version="1.0" encoding="utf-8" ?>
<objects>
    <object name="SFCUIFormFactory" type="sbfui.FormFactory"/>
    <object name="about" type="SBFUI.LocalizeFormFactoryObject" singleton="false">
        <property name="Form">
            <object name="aboutForm" factory-object="SFCUIFormFactory" factory-method="CreateInstance" singleton="false">
                <constructor-arg>about</constructor-arg>
                <property name="ProductName">
                    <value>成布检验数据采集与处理系统</value>
                </property>
                <property name="registryname">
                    <value>码布管理系统</value>
                </property>
                <property name="registrypath">
                    <value>settings</value>
                </property>
                <property name="PlatForm">
                    <value>for windows 98/2k/2003</value>
                </property>
                <property name="version">
                    <value>1.0</value>
                </property>
                <property name="copyright">
                    <value>Copyright 2003-2004 余姚市恒佳自控仪表厂
            0574-62642778
                    </value>
                </property>
                <property name="supportUrl">
                    <value>http://www.hjzk.com</value>
                </property>
            </object>
        </property>
    </object>
    <object name="register" type="SBFUI.LocalizeFormFactoryObject" singleton="false">
        <property name="Form">
            <object name="registerForm" factory-object="SFCUIFormFactory" factory-method="CreateInstance" singleton="false">
                <constructor-arg>register</constructor-arg>
                <property name="registryName">码布管理系统</property>
                <property name="registryPath">settings</property>
                <property name="SoftwareName">TCCPS</property>
            </object>
        </property>
    </object>
    <object name="splash" type="SBFUI.LocalizeFormFactoryObject" singleton="false">
        <property name="Form">
            <object name="splashForm" factory-object="SFCUIFormFactory" factory-method="CreateInstance" singleton="false">
                <constructor-arg>splash</constructor-arg>
                <property name="interval">1000</property>
            </object>
        </property>
    </object>
    <object name="pluginTree" factory-object="SFCUIFormFactory" factory-method="CreateInstance" singleton="true">
        <constructor-arg>explorerbar</constructor-arg>
        <property name="root">
            <ref object="root"/>
        </property>
        <property name="user">
            <ref object="user"/>
        </property>
        <property name="AdoTemplate">
            <ref object="adoTemplate"/>
        </property>
        <property name="QueryMap">
            <dictionary>
                <entry key="getpermissions">
                    <![CDATA[
              select * from sys_permissions
              ]]>
                </entry>
            </dictionary>
        </property>
    </object>
    <object name="fieldChooser" type="SBFUI.LocalizeFormFactoryObject" singleton="false" lazy-init="true">
        <property name="Form">
            <object name="fieldChooserForm" factory-object="SFCUIFormFactory" factory-method="CreateInstance" singleton="false">
                <constructor-arg>fieldchooser</constructor-arg>
            </object>
        </property>
    </object>
    <object name="condition" type="SBFUI.LocalizeFormFactoryObject" singleton="false" lazy-init="true">
        <property name="Form">
            <object name="conditionForm" factory-object="SFCUIFormFactory" factory-method="CreateInstance" singleton="false">
                <constructor-arg>condition</constructor-arg>
            </object>
        </property>
    </object>
    <object name="changePassword" type="SBFUI.LocalizeFormFactoryObject" singleton="false" lazy-init="true">
        <property name="Form">
            <object name="changePasswordForm" factory-object="SFCUIFormFactory" factory-method="CreateInstance" singleton="false">
                <constructor-arg>changepassword</constructor-arg>
            </object>
        </property>
    </object>
    <object name="login" type="sbfui.LocalizeFormFactoryObject" singleton="false" lazy-init="true">
        <property name="Form">
            <object name="loginForm" factory-object="SFCUIFormFactory" factory-method="CreateInstance" singleton="false">
                <constructor-arg>login</constructor-arg>
                <property name="login">
                    <ref object="loginService"/>
                </property>
                <property name="changepasswordFormId">changePassword</property>
            </object>
        </property>
    </object>
    <object name="splashDesc" type="sbf.PluginDescriptor">
        <property name="name">splash</property>
        <property name="loadinstartup">true</property>
        <property name="pluginid">splash</property>
    </object>
    <object name="loginDesc" type="sbf.PluginDescriptor">
        <property name="name">login</property>
        <property name="loadinstartup">true</property>
        <property name="pluginid">login</property>
    </object>
    <object name="contextAware" type="mabu.DefaultApplicationContextAware">
        <property name="RootNode">
            <ref object="root"/>
        </property>
    </object>
    <object name="contextAwareDescriptor" type="SBF.PluginDescriptor">
        <property name="LoadInStartup">true</property>
        <property name="name">contextAware</property>
        <property name="PluginId">contextAware</property>
    </object>
    <object name="navigateOperationPlugin" type="SBF.scriptOperationPlugin">
        <property name="ScriptText">
            <![CDATA[
            function Execute(application)
            with application.host
                   .dockwindowvisible("Navigate")=	not application.host.dockwindowvisible("Navigate")
                   .commandChecked("ViewNavigate")=.dockwindowvisible("Navigate")
            end with
    
end function

            ]]>
        </property>
    </object>
    <object name="navigateOperationPluginDescriptor" type="SBF.PluginDescriptor">
        <property name="Command">viewnavigate</property>
        <property name="PluginId">navigateOperationPlugin</property>
    </object>
    <object name="pluginTreeDesc" type="sbf.PluginDescriptor">
        <property name="Name">Navigate</property>
        <property name="Description">导航</property>
        <property name="WindowType">dockwindow</property>
        <property name="DockPosition">left</property>
        <property name="pluginid">pluginTree</property>
        <property name="loadinstartup">true</property>
    </object>
    <object name="aboutDesc" type="sbf.PluginDescriptor">
        <property name="name">about</property>
        <property name="pluginid">about</property>
        <property name="command">helpabout</property>
    </object>

</objects>

